package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.ResumeBasic;


import cn.jobstart.enums.ResumeBasicMarriageFlagEnum;
import cn.jobstart.enums.ResumeBasicSexFlagEnum;
import cn.jobstart.enums.ResumeBasicPoliticsFlagEnum;
import cn.jobstart.enums.ResumeBasicShowFlagEnum;
import cn.jobstart.enums.ResumeBasicDelFlagEnum;
import cn.jobstart.enums.ResumeBasicEsFlagEnum;
import cn.jobstart.enums.ResumeBasicEducationFlagEnum;
import cn.jobstart.enums.ResumeBasicWorkExperienceFlagEnum;

/**
*    @author sunke
*    @Date 2023-10-30 11:03:48
*    @description ResumeBasicDesc      简历基础表
*/
@Data
public class ResumeBasicDesc extends ResumeBasic {


    private String marriageFlagDesc;
    private String sexFlagDesc;
    private String politicsFlagDesc;
    private String showFlagDesc;
    private String delFlagDesc;
    private String esFlagDesc;
    private String educationFlagDesc;
    private String workExperienceFlagDesc;

    public String getMarriageFlagDesc() {
        marriageFlagDesc=ResumeBasicMarriageFlagEnum.getDescByType(getMarriageFlag());
        return marriageFlagDesc;
    }
    public String getSexFlagDesc() {
        sexFlagDesc=ResumeBasicSexFlagEnum.getDescByType(getSexFlag());
        return sexFlagDesc;
    }
    public String getPoliticsFlagDesc() {
        politicsFlagDesc=ResumeBasicPoliticsFlagEnum.getDescByType(getPoliticsFlag());
        return politicsFlagDesc;
    }
    public String getShowFlagDesc() {
        showFlagDesc=ResumeBasicShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=ResumeBasicDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
    public String getEsFlagDesc() {
        esFlagDesc=ResumeBasicEsFlagEnum.getDescByType(getEsFlag());
        return esFlagDesc;
    }
    public String getEducationFlagDesc() {
        educationFlagDesc=ResumeBasicEducationFlagEnum.getDescByType(getEducationFlag());
        return educationFlagDesc;
    }
    public String getWorkExperienceFlagDesc() {
        workExperienceFlagDesc=ResumeBasicWorkExperienceFlagEnum.getDescByType(getWorkExperienceFlag());
        return workExperienceFlagDesc;
    }
}

